package com.ruoyi.jl_bg.service;

import com.ruoyi.jl_bg.domain.JlBgBaBgDetail;
import com.ruoyi.jl_bg.domain.vo.JlBgBaBgDetailVo;
import com.ruoyi.jl_bg.domain.bo.JlBgBaBgDetailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * wbs清单变更明细Service接口
 *
 * @author zyb
 * @date 2024-12-23
 */
public interface IJlBgBaBgDetailService {

    /**
     * 查询wbs清单变更明细
     */
    JlBgBaBgDetailVo queryById(Long detailId);

    /**
     * 查询wbs清单变更明细列表
     */
    TableDataInfo<JlBgBaBgDetailVo> queryPageList(JlBgBaBgDetailBo bo, PageQuery pageQuery);

    /**
     * 查询wbs清单变更明细列表
     */
    List<JlBgBaBgDetailVo> queryList(JlBgBaBgDetailBo bo);

    /**
     * 新增wbs清单变更明细
     */
    Boolean insertByBo(JlBgBaBgDetailBo bo);

    /**
     * 修改wbs清单变更明细
     */
    Boolean updateByBo(JlBgBaBgDetailBo bo);

    /**
     * 校验并批量删除wbs清单变更明细信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
